package com.hqyj.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;


@Component
@PropertySource(value = "classpath:application-sms.properties",encoding = "UTF-8")
@Data
public class AliyunConfig {

    @Value("${aliyun.key}")
    private String key;
    @Value("${aliyun.screct}")
    private String screct;
    @Value("${aliyun.SignName}")
    private String SignName;
    @Value("${aliyun.TemplateCode}")
    private String TemplateCode;

}
